//
//  SHBankCardListView.h
//  JiFengDaRen
//
//  Created by SH_iOS on 2017/10/23.
//  Copyright © 2017年 SH_iOS. All rights reserved.
//

#import <UIKit/UIKit.h>
@class SHBankCardListView;
@class BankCardModel;
@protocol SHBankCardListViewDelegate <NSObject>


/**
 银行卡弹出列表代理
 
 @param view
 @param bankCardCode 卡号
 @param bankCardId  id
 @param usingChoices 用途 1 收款卡 2 付款卡
 */
- (void)bankCardListView:(SHBankCardListView *)view bankCardModel:(BankCardModel *)bankCardModel;

@end
@interface SHBankCardListView : UIView
@property(nonatomic,strong)id<SHBankCardListViewDelegate>delegate;

//显示View;
- (void)showBankCardListView;

/**
 初始化弹出视图
 
 @param frame
 @param usingChoices  用途 11 收款 12 付款
 @param bankCardType // 1 借记卡 2 信用卡
 @return
 */
- (instancetype)initWithFrame:(CGRect)frame bankCardListArray:(NSArray *)bankCardListArray;

@end
